// @Date         2021-12-08
// @Author       Aaron Zhang
// @Description
// @FileName      provider.go

package orm

import (
	"zin/framework"
	"zin/framework/contract"
)

type ProviderOrm struct {
}

func (p *ProviderOrm) Register(c framework.Container) framework.NewInstance {
	return NewProviderServiceOrm
}

func (p *ProviderOrm) Boot(c framework.Container) error {
	return nil
}

func (p *ProviderOrm) IsDefer() bool {
	return false
}

func (p *ProviderOrm) Params(param map[string]interface{}) map[string]interface{} {
	return param
}

func (p *ProviderOrm) Name() string {
	//TODO implement me
	return contract.ProviderKeyOrm
}
